README

padrinoz_website

Toy website of the band “The Padrinoz” 🎸

🔄 work in progress…. 🔄

ReadMe

MinisiteAWS

Template for mini-website with custom domain in AWS

This was done using R package distill

Location

This is a template for creating a mini Project website deployed in Github, but with a custom domain in AWS

Steps to setup and launch new mini-site

  1. on Github: Create new repo whateverthename

  2. on Terminal (in the parent Local dir): Clone remote report git clone "https://github.com/lulliter/whateverthename.git"

  3. on Local: Copy the content of example Then git add -A –> git commit -m "message" –> git push origin master

  4. on AWS: Go to route 53 and follow instructions to buy a domain (10$ per year) www.minisiteaws.net

  5. on AWS_Route53: domain registration should be done automatically

    1. on AWS_Route53: in your route 53 dashboard, click hosted zones. It will provide you with a list of domain names you have with route 53. And then click the domain names you just created. Create an A type of record set. This will be your yourdomain.com rule. Keep everything the same. {And add 192.30.252.153 and 192.30.252.154 in IPv4 address box. And save the record set.}

Actually GITHUB says: A records that point your custom domain to the following IP addresses: + 185.199.108.153 + 185.199.109.153 + 185.199.110.153 + 185.199.111.153

    1. Third, create another A type of record set. And this will be your www.yourdomain.com rule. And it will be an alias for yourdomain.com. Choose alias on the dashboard, from dropdown menu, choose yourdomain.com. Save the record set.
  1. Last, go back to Github repository and create a file name CNAME and put in yourdomain.com in that file and save.
  1. on Github: Scroll down to the Repo / Setting/ Github Pages section click the drop down menu under “Source” and click “master branch”

  2. on Local: make some adaptation / add content

  3. (on Terminal/RStudio: Build the site locally (or see ./build_site.R))

    • actually, now the shell script ./_render-deploy.sh invokes and run ./build_site.R
  4. on Terminal/RStudio: git add/commit/push (or see ./_render-deploy.sh)

TO do

Acknowledgments

Corrections

If you see mistakes or want to suggest changes, please create an issue on the source repository.

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-SA 4.0. Source code is available at https://lulliter.github.io/padrinoz_website/, unless otherwise noted. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".